Drop dh --with autotools_dev; it doesn't work if config.* files are missing.
authorRob Browning <rlb@defaultvalue.org>
Sat, 8 Oct 2011 16:25:36 +0000 (11:25 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 23 Oct 2011 06:21:40 +0000 (01:21 -0500)
debian/rules

index 8cdd17620bd3377b8ec24213b280d68d39b42457..ef19af7b3a1e9d8ad384fd98b80ed3e681b5aab9 100755 (executable)
@@ -303,7 +303,7 @@ define deb_sub
 endef
 
 %:
-       dh $@ --parallel --with autotools_dev
+       dh $@ --parallel
 
 check-vars:
        @echo "src_name: $(src_name)"
@@ -468,6 +468,9 @@ define build_cmd
 endef
 
 override_dh_auto_configure: debian/setup-stamp
+        # Can't use dh --with autotools_dev because it only works if
+        # you haven't removed the config.sub and config.guess files
+        # from the source tree.
        cp -a /usr/share/misc/config.guess .
        cp -a /usr/share/misc/config.sub .
        $(call cfg_tree,debian/build-x,$(confflags_x))